package com.woniu.zsd.merchant.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site")
@ApiModel(value="站点对象", description="")
public class Site implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "站点ID")
    private Integer id;

    @ApiModelProperty(value = "站点名称")
    private String siteName;

    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "营业时间")
    private String businessHours;

    @ApiModelProperty(value = "状态：1正常0暂停营业")
    private Integer status;

    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "站点联系人姓名")
    private String siteUserName;

    @ApiModelProperty(value = "站点联系人电话")
    private String siteUserPhone;

    @ApiModelProperty(value = "站点简介")
    private String siteDesc;

    @ApiModelProperty(value = "站点城市")
    private String city;

    @ApiModelProperty(value = "站点区/县")
    private String district;
}
